package cn.imvc.app.models;

import java.util.List;

import org.springframework.data.domain.Page;

import cn.imvc.app.entities.Group;
import cn.imvc.data.domain.ViewRequest;

public interface GroupModel {
	
	Page<Group> find(ViewRequest viewRequest);

	List<Group> find();
	
	Group get(int id);

	Group save(Group group);

	Group update(int id,Group group);

	void delete(int id);

	void deleteBatch(int[] ids);
}
